#include "rtwtypes.h"
#include "Bldc_Svc_types.h"

const int32_T C_Adc_IdcSample6_Gain = 98;
const int32_T C_Adc_IdcSample6_Offset = 61046;
const int32_T C_Adc_UdcSample6_Gain = 343;
const int32_T C_Adc_UdcSample6_Offset = 0;
const uint16_T C_Idc6base = 21U;
const uint16_T C_LPF6_CtrlTemp_Kx = 2979U;
const uint16_T C_LPF6_Idc_Kx = 2979U;
const uint16_T C_LPF6_MosTemp_Kx = 2979U;
const uint16_T C_LPF6_Spd_Kx = 2979U;
const uint16_T C_LPF6_Udc_Kx = 2979U;
const uint16_T C_Motor6_Init_Time = 100U;
const uint16_T C_Motor6_MaxHalf_HallTime = 1680U;
const uint16_T C_Motor6_Open2Close_Duty = 1000U;
const uint16_T C_Motor6_Open2Close_HoldTime = 0U;
const uint16_T C_Motor6_Pn = 2U;
const uint16_T C_Motor6_Recovery_Time = 40000U;
const uint16_T C_Motor6_Startup_HoldTime = 20000U;
/* dynamic */
uint16_T C_Motor6_Startup_MaxDuty = 2000U;
uint16_T C_Motor6_Startup_MinDuty = 2000U;

const uint16_T C_Motor6_Startup_SpdTime = 480U;
const uint16_T C_Motor6_Zero_Lock_Duty = 500U;
const uint16_T C_Motor6_Zero_Lock_Time = 4000U;
const uint8_T C_NUM15 = 15U;
const real32_T C_PI_Spd6_Kc = 0.1F;
const uint8_T C_PI_Spd6_Kc_Qn = 16U;
const real32_T C_PI_Spd6_Ki = 0.006F;
const real32_T C_PI_Spd6_Kp = 0.03F;
const uint16_T C_PWM_6Step_Period = 20000U;
const uint16_T C_Potect6_Locked_Keep_Time = 1000U;
const int16_T C_Potect6_OverCtrlTemp = 90;
const int16_T C_Potect6_OverIdc = 3500;
const int16_T C_Potect6_Start_OverIdc = 1500;
const int16_T C_Potect6_OverSpd = 25000;
const int16_T C_Potect6_OverUdc = 3300;
const int16_T C_Potect6_UnderUdc = 1905;
const int16_T C_Rx_SpdEnable = 1000;
const uint8_T C_Spd6_Qn = 15U;
const uint16_T C_Spd6base = 32768U;
const int16_T C_SpdRef_Open2Close = 2000;
const int16_T C_SpdRef_Step = 3;
const uint16_T C_Sys6_Init_Time = 100U;
const uint16_T C_Sys6_Pre_Class_Time = 300U;
const uint16_T C_Sys6_Recovery_Time = 2000U;
const uint16_T C_Udc6base = 86U;
const uint16_T C_Version_Motor = 1U;
const uint16_T C_Version_Controller = 0U;
const uint16_T C_Version_Software = 30U;
const uint8_T C_sys_Spd6kpki_Qn = 20U;
const uint8_T C_sys_Spd6max_Qn = 31U;
